package com.ruoyi.house_sale.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款方式对象 PaidType
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class PaidType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long paidtypeid;

    /** 名称（POS刷卡，银行放款 ，诚意金转款，POS机转帐 ，现金） */
    @Excel(name = "名称", readConverterExp = "P=OS刷卡，银行放款,，=诚意金转款，POS机转帐,，=现金")
    private String paidtypename;

    /** 是否现金（现金，银行） */
    @Excel(name = "是否现金", readConverterExp = "现=金，银行")
    private String iscash;

    /** 是否有效（有效，无效） */
    @Excel(name = "是否有效", readConverterExp = "有=效，无效")
    private String invalid;

    public void setPaidtypeid(Long paidtypeid) 
    {
        this.paidtypeid = paidtypeid;
    }

    public Long getPaidtypeid() 
    {
        return paidtypeid;
    }
    public void setPaidtypename(String paidtypename) 
    {
        this.paidtypename = paidtypename;
    }

    public String getPaidtypename() 
    {
        return paidtypename;
    }
    public void setIscash(String iscash) 
    {
        this.iscash = iscash;
    }

    public String getIscash() 
    {
        return iscash;
    }
    public void setInvalid(String invalid) 
    {
        this.invalid = invalid;
    }

    public String getInvalid() 
    {
        return invalid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paidtypeid", getPaidtypeid())
            .append("paidtypename", getPaidtypename())
            .append("iscash", getIscash())
            .append("invalid", getInvalid())
            .toString();
    }
}
